package org.skyfree.ghyll.tcard.util;


public class InvalidNameCheck {
	
	public static String INVALID_CHARS = "/,\\,:,*,?,\",<,>,|";
	
	public static boolean Check(String name)
	{
		if(name.indexOf('/')>=0)return false;
		if(name.indexOf('\\')>=0)return false;
		if(name.indexOf(':')>=0)return false;
		if(name.indexOf('*')>=0)return false;
		if(name.indexOf('?')>=0)return false;
		if(name.indexOf('"')>=0)return false;
		if(name.indexOf('<')>=0)return false;
		if(name.indexOf('>')>=0)return false;
		if(name.indexOf('|')>=0)return false;
		return true;
	}
}

	